package com.lonely.system.domain.dto.productionline;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author: 黄志标
 * @date: 2025/5/27 11:41
 * @description: 产线提交参数
 */
@Data
@Accessors(chain = true)
public class SysProductionLineSubmitDto implements Serializable {

    /**
     * id
     */
    private Long id;

    /**
     * 产线名称
     */
    @NotBlank(message = "产线名称为空")
    private String name;

    /**
     * 产线类型
     */
    @NotNull(message = "产线类型为空")
    private Integer type;

    /**
     * 工厂id
     */
    @NotNull(message = "工厂id为空")
    private Long factoryId;
}
